<?php foreach($lienhe as $lh):?>
<table class="ui-widget-content chitietnguoidang">
    <tr>
        <td rowspan="6" class="hinhanh">
<?php if($lh['AnhDaiDien'] == '' || $lh['AnhDaiDien'] == null) $lh['AnhDaiDien'] = 'default.png'?>
            <img src="<?=base_url('images/avatar/'.$lh['AnhDaiDien'])?>" class="chitietanh"/>
        </td>
        <td>Tên đăng nhập: <span class="tendangnhap"><?php echo $lh['TenDangNhap'];?></span></td>
    </tr>
    <tr>
        <td>Họ Tên: <span class="hoten"><?php echo $lh['HoTen'];?></span></td>
    </tr>
    <tr>
        <td>Địa Chỉ: <span class="phuongtien"><?php echo $lh['DiaChi'];?></span></td>
    </tr>
    <tr>
        <td>Số Điện Thoại: <span class="phuongtien"><?php echo $lh['SoDienThoai'];?></span></td>
    </tr>
    <tr>
        <td>Email: <span class="phuongtien"><?php echo $lh['Email'];?></span></td>
    </tr>
    <tr>
        <td>Điểm Đăng Bài: <span class="diem"><?php echo $lh['DiemNguoiDang'];?></span></td>
    </tr>
</table>
<?php endforeach;?>